
<div class="Evaluation_group right_box">
  <span style="display:none">{$base = $right_info.base}</span>
  <h2>{$base.cname}</h2>
  <p>{$base.descrip}</p>
  <dl>
    <empty name="isjoin"><dt><a href="__URL__/join/cyid/{$cyid}"><img src="__TMPL__/images/group/u425.png" /></a></dt></empty>
    <!--http://localhost/pw8/apps.php?q=group&a=join&cyid={$cyid}-->
    <dd>
      <p>群组文章：{$base.article_num}</p>
      <p>群组人数：{$base.members}</p>
      <p style="display: none">当前在线：12</p><!--TODO-->
    </dd>
  </dl>
  <div class="clear"></div>
</div>
<div class="admin right_box">
  <span style="display:none">{$manager = $right_info.manager}</span>
  <h2>管理员<span>({$manager.count})</span><if condition="$manager.count gt 9"><span style="float:right"><a href="#">更多</a></span></if></h2>
  <ul>
    <volist name="right_info.manager.list" id="vo">
      <li>
        <a href="/column/u_{$vo.uid}.html" target="_blank"><img class="member_pic" src="{$vo.icon}"/></a><span>{$vo.username}</span>
      <if condition="$vo[username] eq $base[admin]">群主<else/>管理员</if>
      </li>
    </volist>
  </ul>
  <div class="clear"></div>
</div>
<div class="member right_box">
  <span style="display:none">{$members = $right_info.members}</span>
  <h2><if condition="$members.count gt 9"><span style="float:right; margin-right: 5px;"><a href="/pw8/apps.php?q=group&a=member&cyid={$cyid}">更多</a></span></if>活跃会员<span>（共{$members.count}人）</span></h2>
  <ul>
    <volist name="members.list" id="vo">
      <li><a href="/column/u_{$vo.uid}.html" target="_blank"><img class="member_pic" src="{$vo.icon}"/></a><span>{$vo.username}</span></li>
    </volist>
  </ul>
  <div class="clear"></div>
</div>
<div class="new_jion right_box">
  <span style="display:none">{$visitor = $right_info.visitor}</span>
  <h2>最近游客</h2>
  <ul>
    <volist name="visitor.list" id="vo">
      <li><a href="/column/u_{$vo.uid}.html" target="_blank"><img class="member_pic" src="{$vo.icon}"/></a><span>{$vo.username}</span></li>
    </volist>
  </ul>
  <div class="clear"></div>
</div>
<div class="other_ring right_box" style="display:none">
  <h2>成员还喜欢去的圈子</h2>
  <volist name="right_info.like" id="vo">
    <dl>
      <dt><a href="/pw8/apps.php?q=group&cyid={$vo.id}" target="_blank"><img class="member_pic" src="{$vo.cnimg}"/></a></dt>
      <dd>
        <h3><a href="/pw8/apps.php?q=group&cyid={$vo.id}" >{:mb_substr($vo[cname],0,10,'utf-8')}</a></h3>
        <p>成员：{$vo.members} &nbsp; <span style="display:none">积分：7</span></p>
      </dd>
      <div class="clear"></div>
    </dl>
  </volist>
  <div class="clear"></div>
</div>
<script>
  var url = "__URL__";
  function clickJoin(cyid){
    var data = {cyid:cyid};
    ajax.send(url+"/join",data,function(obj){
      var status = obj.status;
      var info = obj.info;
      if (status == 0) {
        window.location.href = "/pw8/login.php";
      }else if (status == 1) {
        //成功加入
        alert(info);
      }else {
        //已经加入了
        alert(info);
      }
    });
  } 
</script>
<!--
<div><span style="display:none">{$base = $right_info.base}</span>
  <p>名称：{$base.cname}</p>
  <p>照片：<img src="{$base.cnimg}" class="img" width="120" height="120" /></p>
  <p>简介：{$base.descrip}</p>
  <p><a href="#" onClick="addToie('http://localhost/pw8/apps.php?q=group&cyid={$cyid}','群组{$base.cname}首页');">[收藏]</a>
    <a href="#" onClick="copyUrl('http://localhost/pw8/apps.php?q=group&cyid={$cyid}')">[复制]</a>
  </p>
  <p>分类：<empty name="base.style_name">未分类<else/>{$base.style_name}</empty></p>
<p>群成员：{$base.members}</p>
<p>创建时间：{:date('Y-m-d H:i:s',$base[createtime])}</p>
</div>
<div><span style="display:none">{$manager = $right_info.manager}</span>
  <p>管理员（共{$manager.count}人）<if condition="$manager.count gt 9"><span style="float:right"><a href="#">更多</a></span></if></p>
<ul>
  <volist name="manager.list" id="vo">
    <li>
      <a href="/pw8/u.php?uid={$vo.uid}"><img width="90" height="75" src="{$vo.icon}"/></a>{$vo.username}
    <if condition="$vo[username] eq $base[admin]">群主<else/>管理员</if>
    </li>
  </volist>
</ul>
</div>
<div><span style="display:none">{$members = $right_info.members}</span>
  <p>成员（共{$members.count}人）<if condition="$manager.count gt 9"><span style="float:right"><a href="#">更多</a></span></if></p>
<ul>
  <volist name="members.list" id="vo">
    <li><a href="/pw8/u.php?uid={$vo.uid}"><img width="90" height="75" src="{$vo.icon}"/></a>{$vo.username}</li>
  </volist>
</ul>
</div>
<div><span style="display:none">{$visitor = $right_info.visitor}</span>
  <p>最近游客</p>
  <ul>
    <volist name="visitor.list" id="vo">
      <li><a href="/pw8/u.php?uid={$vo.uid}"><img width="90" height="75" src="{$vo.icon}"/></a>{$vo.username}</li>
    </volist>
  </ul>
</div>
<div>
  <p>成员还喜欢去的群组</p>
  <ul>
    <volist name="right_info.like" id="vo">
      <li>
        <a href="/pw8/apps.php?q=group&cyid={$vo.id}"><img width="90" height="75" src="{$vo.cnimg}"/></a>{$vo.cname}
        (成员：{$vo.members})
      </li>
    </volist>
  </ul>
</div>

-->